• Introduction 

      TKscreenSize
      XFCN
      No. 4412
      Version:  2.4
      Copyright © 1990, 1991 by Stan Gilbert
__________________________________________________

Returns the size of the screen or window.

• Parameters
__________________________________________________

Parm1

SCR
returns size of current SCREEN

WIND
returns size of current WINDOW

VALIDW (advanced use)
sets the current window to a valid rect (see ValidRect in Inside Macintosh)

VALIDS (advanced use)
sets the current screen to a valid rect (see ValidRect in Inside Macintosh)
--basically this tells the Macintosh that this rect on the screen is valid and
does NOT require updating

• Requirements
__________________________________________________

ÓÊ

• Return Values
__________________________________________________

ÓÊStandard rect parameters plus width and height in global coordinates

Left,Top,Right,Bottom,Width,Height

• Related Topics
__________________________________________________

ÓÊ

• Special Features
__________________________________________________

ÓÊ

• Examples
__________________________________________________

ÓÊ
get TKscreenSize("window")
if item 5 of TKscreenSize("screen") > 512 then put 1 into largeScreen
get TKscreenSize("validw")

• More Information
__________________________________________________

ÓÊ

∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞